/*
 * @Author: CuteBoy
 * @Date: 2021-12-17 17:06:29
 * @Description: 设置page-title
 */
import { get, set, remove } from 'js-cookie'

const TokenKey = 'Admin-Token'

export function getToken() {
    return get(TokenKey)
}

export function setToken(token: string) {
    return set(TokenKey, token)
}

export function removeToken() {
    return remove(TokenKey)
}